﻿#include "TurnTableDecode_TurnTable_CurrentState.h"

#include "TurnTableCodec.h"

TurnTableDecode_TurnTable_CurrentState::TurnTableDecode_TurnTable_CurrentState(TurnTableCodec *turnTableCodec)
{
  this->turnTableCodec=turnTableCodec;
}

TurnTableDecode_TurnTable_CurrentState::~TurnTableDecode_TurnTable_CurrentState()
{

}

void TurnTableDecode_TurnTable_CurrentState::decode(char* const data)
{
//  float position=dataBodyToFloat(data,1);
//  float rate=dataBodyToFloat(data,2);
//  logSaver->saveLog(QStringLiteral("TurnTableCodec,turnTable current state: position: %1 , rate: %2").arg(position).arg(rate),LogSaver::Debug);
//  emit turnTableCodec->signal_turnTableCurrentState(position,rate,deviceId);
}
